﻿using System.Threading;
using System.Windows;
using System.Windows.Markup;

namespace DataModel
{
    public static class Culture
    {
        public static void SetCulture(this FrameworkElement FE)
        {
            FE.Language = XmlLanguage.GetLanguage(Thread.CurrentThread.CurrentCulture.Name);
        }
    }
}
